<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import the Joomla modellist library
jimport('joomla.application.component.modellist');
/**
 * RetailShopList Model
 */
class RetailShopModelcategoryshops extends JModelList
{

	protected function getListQuery()
	{
		// Create a new query object.		
		$db = JFactory::getDBO();
		$query = $db->getQuery(true);
		// Select some fields
		$query->select('id,name,status');
		// From the retail shop
		$query->from('#__retailshop_category');
		return $query;
	}
}
